<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<%@ include file="/static/commons/ecside.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${title}</title>
		<script type="text/javascript" src="${ctx}/static/scripts/check_all.js"></script>
		<script type="text/javascript">
			function init(){
			}
			function changeStyle(obj){
			  	ec_showContent(obj,"700px");
			}
		</script>
	</head>
	<body onload="init()">
		<ec:table items="list" var="v" title="" width="100%"
			retrieveRowsCallback="process" filterRowsCallback="process"
			maxRowsExported="1000" pageSizeList="all" useAjax="false"
			sortable="false" filterable="false"
			resizeColWidth="true" classic="true" minHeight="200"
			excludeParameters="checkAll,ID_,id"
			toolbarContent="extend "
			action="${ctx}/taskAssign/getUser">
			<ec:row style="text-align:center;">
				<%-- <c:if test="${'wx' eq taskType }">
					<ec:column property="ID_" title=" " style="text-align:center;width:34px;" sortable="false">
						<input type="radio" value='${v.user_id}||${v.user_name}' name='id' id="id" 
						<c:if test="${not empty v.flag}">checked="checked"</c:if> ></input>
					</ec:column>
				</c:if>
				<c:if test="${'wx' ne taskType }"> --%>
					<ec:column property="ID_"
							title="<input type='checkbox' name='checkAll' onclick='check_all(this.form,this.form.id)'>"
							style="text-align:center;width:34px;" sortable="false">
							<input type="checkbox" value='${v.user_id}||${v.user_name}' name='id' id="id" 
							onclick="check_item(this.form,this.form.id)" <c:if test="${not empty v.flag}">checked="checked"</c:if> ></input>
					</ec:column>
				<%-- </c:if> --%>
				<ec:column property="user_id" title="账号" >${v.user_id}</ec:column>
				<ec:column property="user_name" title="姓名">${v.user_name}</ec:column>
				<ec:column property="dept_name" title="部门">${v.dept_name}</ec:column>
			</ec:row>
		</ec:table>
	</body>
</html>